package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.User;

import java.util.Map;

public interface UserService extends IService<User> {
    User findUserByUsername(String username);

    void changePassword(String username, String password);

    Map<String, Object> backViewForLogin();

    Map findPage(QueryPageBean queryPageBean);

    void deleteUserById(Integer id);

    void saveOrUpdateByUser(User user);
}
